package com.bm.pojo;

public class Word {
    private Integer id;
    private String englishWord;
    private String chineseWord;
    private String chapter;

    public Word(){
    }

    public Word(Integer id, String englishWord, String chineseWord, String chapter) {
        this.id = id;
        this.englishWord = englishWord;
        this.chineseWord = chineseWord;
        this.chapter = chapter;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getEnglishWord() {
        return englishWord;
    }

    public void setEnglishWord(String englishWord) {
        this.englishWord = englishWord;
    }

    public String getChineseWord() {
        return chineseWord;
    }

    public void setChineseWord(String chineseWord) {
        this.chineseWord = chineseWord;
    }

    public String getChapter() {
        return chapter;
    }

    public void setChapter(String chapter) {
        this.chapter = chapter;
    }

    @Override
    public String toString() {
        return "Word{" +
                "id=" + id +
                ", englishWord='" + englishWord + '\'' +
                ", chineseWord='" + chineseWord + '\'' +
                ", chapter='" + chapter + '\'' +
                '}';
    }
}
